package com.itheima.abstracttest;

public abstract class People {
    public abstract void writeMain();
    public void write(){
        System.out.println("《History》");
        System.out.println("《Math》");
        writeMain();
        System.out.println("《English》");
        System.out.println("《Chinese》");
        System.out.println("《Physics》");
    }
}
